package atmGUI.service;

import atmGUI.pojo.UserDO;

/**
 * 业务层
 */
public interface UserService {
    UserDO getByUserAccountAndPassword(String userAccount, String password);

    void saveMoney(int id, double balance);

    void takeMoney(int id, double balance) throws Exception;

    void changePassword(int id,String iptOldPwd,String iptNewPwd,String iptConfirmPwd) throws Exception;

    void transfer(int id,String otherAccount,double transferMoney)throws Exception;
}
